package com.bloveoa.zkkd.doman;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Table(name = "t_token_remaining")
@Data
@Accessors(chain = true)
@DynamicInsert
@DynamicUpdate
@Entity
@ApiModel(value = "TokenRemainingModel", description = "锁仓token")
public class TokenRemainingModel implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", insertable = false, nullable = false)
    private Integer id;

    @ApiModelProperty(value = "创始团队剩余数量", name = "foundingTeamNum", example = "")
    @Column(name = "founding_team_num")
    private Integer foundingTeamNum;

    @ApiModelProperty(value = "可以分配给盒子剩余数量", name = "tBoxNum", example = "1")
    @Column(name = "t_box_num")
    private Integer tBoxNum;

    @ApiModelProperty(value = "锁仓时长", name = "tLockedNum", example = "1")
    @Column(name = "t_locked_num")
    private Integer tLockedNum;
    @ApiModelProperty(value = "锁仓奖励分配规则", name = "lockedAward", example = "3个月，半年，一年")
    @Column(name = "locked_award")
    private String lockedAward;
}
